<template>
    <br>
    <button @click="msg" class="mybtn">{{ name }}{{ age }}User的Button</button>
</template>

<script>
import {message,username} from '../mixin.js'
export default {
    name:'User',
    mixins:[message,username]
}
</script>

<style scoped>
/* scoped 局部样式 */
    .mybtn{
        color: green;
    }
</style>